package com.itentbase.match.pojo.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;


/**
 * 足球赛事(额外数据)实体类
 *
 * @author wjl
 * @date 2024-12-26 11:47:52
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FootballMatchExtra implements Serializable {
    private static final long serialVersionUID = -7545903807082666542L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer matchId;  //赛事ID
    private Integer homeTeamLastRank;      //主队上赛季排名
    private Integer awayTeamLastRank;      //客队上赛季排名
    private String homeTeamTotalScore;    //主队赛季总成绩 例如：8胜 3平 6负
    private String homeTeamScore;         //主队赛季主场成绩 例如：5胜 1平 2负
    private String awayTeamTotalScore;    //客队赛季总成绩 例如：8胜 3平 6负
    private String awayTeamScore;         //客队赛季主场成绩 例如：5胜 1平 2负
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;
}

